#include <bits/stdc++.h>
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);cin.tie(nullptr);
    int N; cin >> N;
    vector<int> v;
    for (int i = 0; i < N; ++i) {
        int t; cin >> t;
        v.emplace_back(t);
    }
    sort(v.rbegin(), v.rend());
    for (int i = 0; i < N; ++i) {
        if(!i) cout << v[i];
        else cout << " " << v[i];
    }
    return 0;
}